From 9d26295c65d2c68ae5012bea1b20ea7e45e93325 Mon Sep 17 00:00:00 2001 From: memdmp Date: Sun, 21 Sep 2025 01:13:25 +0000 Subject: feat: misc changes before hopefully actually starting --- src/routes/scope-prompt/[scopes]/+server.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/routes/scope-prompt/[scopes]/+server.ts') diff --git a/src/routes/scope-prompt/[scopes]/+server.ts b/src/routes/scope-prompt/[scopes]/+server.ts index f919b9c..5521cf5 100644 --- a/src/routes/scope-prompt/[scopes]/+server.ts +++ b/src/routes/scope-prompt/[scopes]/+server.ts @@ -17,5 +17,9 @@ export const GET = async (e) => { ) ) throw redirect(303, base + '/scope-prompt/ok'); - else throw error(500, 'In server mode, this branch should be unreachable'); + else + throw error( + 500, + 'In server mode, this branch should be unreachable. checkScope with getScopeOnFail should never return false outside of the client.' + ); }; -- cgit v1.2.3